import Vue from 'vue'
import Router from 'vue-router'
import LoginVue from '../components/LoginView/LoginVue';
import containers from '../components/MainContainer/containers';
import password from '../components/LoginView/passwordOrname';
import containerDetail from '../components/MainContainer/containerDetail'

Vue.use(Router);

export default new Router({
  // mode:'history',
  routes: [
    {
      path: '/',
      name:'user',
      redirect: "/user/login"
    },
    {
      path: '/user/login',
      name: 'login',
      component: LoginVue
    },
    {
      path:'/user/login/password',
      name:'password',
      component:password
    },
    {
      path: '/container',
      name: 'containers',
      component: containers,
    },
    {
      path:'/containerDetail',
      name:'containerDetail',
      component:containerDetail,
    }

  ]
})
